package com.ndp.fb.rdb.model;

import com.ndp.fb.rdb.annotation.Column;
import com.ndp.fb.rdb.annotation.Id;
import com.ndp.fb.rdb.annotation.Table;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import java.io.Serializable;

/**
 * Created by evan.wan on 2015/6/23.
 */
@Setter
@Getter
@NoArgsConstructor
@Table("t_dictionary")
public class Dictionary implements Serializable {
    /**
     * id
     */
    @Id
    private Long id;
    /**
     * dict_name
     */
    @Column("dict_name")
    private String name;
    /**
     * dict_type
     */
    @Column("dict_type")
    private String type;
    /**
     * dict_value
     */
    @Column("dict_value")
    private String value;
}
